#include <iostream>
using namespace std;

int main() {
    int number;

    cout << "请输入一个数: ";
    cin >> number;

    cout << "He played knick-knack ";
    if (number == 1) {
        cout << "with his thumb.\n";
    }
    else if (number == 2) {
        cout << "with my shoe.\n";
    }
    else if (number == 3) {
        cout << "on his knee.\n";
    }
    else if (number == 4) {
        cout << "at the door.\n";
    }
    else {
        cout << "\nWhoa! He doesn't play knick-knack there!\n";
    }
}